<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
 <jsp:include page="/common/resource.jsp"></jsp:include>
<script language="javascript"  src="${base}/scripts/jquery.min.1.11.1.js"></script>
<link rel="stylesheet" type="text/css" href="${base}/scripts/fileplugin/uploadify/uploadify.css" />
<script type="text/javascript" src="${base}/scripts/fileplugin/uploadify/swfobject.js" charset="UTF-8"></script>
<script type="text/javascript" src="${base}/scripts/fileplugin/uploadify/jquery.uploadify.js" charset="UTF-8"></script>
<script type="text/javascript" src="${base}/scripts/fileplugin/fileupload/jquery.fileupload.js" charset="UTF-8"></script>
<script type="text/javascript">
$.upload.multiFileUpload.init({
	fids : ['file'],
	sId : '111',
 	mNames : 'A',
	tNames : 'B', 
	attachmentId : 'fileId',
	multis : [true],
	success : function(){
		alert("文件上传成功,开始提交表单");
	}
});

function save(){
	$.upload.multiFileUpload.upload();
}
</script>
</head>
<body style="height:100%; OVERFLOW-Y:auto " >
<!--  <form action="${base}/system/appfile/upload" method="post" enctype="multipart/form-data">   -->
<!--         <p>   -->
<!--             选择文件:<input type="file" name="file">  .        <p>    -->
<!--            <input type="submit" value="提交"> <font color="red">${error}</font> -->
           
<!--    </form>   -->
   <input type="hidden"  id="fileId"/> 
   <input type="file" id = "file" name ="file"/>
   <input type="button" onclick="save()" value="onclick"/>
   <input type="button" onclick="alert($('#fileId').val())" value="onclick"/>
<!--底部-->
</html> 